package com.ruoyi.system.utils;

public class Enums {
    public enum rubbishHouseTypeEnums {
        //垃圾房状态0=正常,1=超重,2=离线
        normal("正常", 0),
        overload("超重", 1),
        offLine("离线", 2);
        // 成员变量
        private String name;
        private int value;

        // 构造方法
        private rubbishHouseTypeEnums(String name, int value) {
            this.name = name;
            this.value = value;
        }

        public String getName() {
            return this.name;
        }

        public int getValue() {
            return this.value;
        }
    }
    public enum rubbishHouseDisplayTypeEnums {
        //展示类型,0=小程序,1=公众号
        applet("小程序", 0),
        Tencent("公众号", 1);
        // 成员变量
        private String name;
        private int value;

        // 构造方法
        private rubbishHouseDisplayTypeEnums(String name, int value) {
            this.name = name;
            this.value = value;
        }

        public String getName() {
            return this.name;
        }

        public int getValue() {
            return this.value;
        }
    }
    public enum enumrubbishTypeEnums {
        //单位:0=KG,1=个
        KG("KG", 0),
        box("个", 1);
        // 成员变量
        private String name;
        private int value;

        // 构造方法
        private enumrubbishTypeEnums(String name, int value) {
            this.name = name;
            this.value = value;
        }

        public String getName() {
            return this.name;
        }

        public int getValue() {
            return this.value;
        }
    }

}
